* { /* clear */
	margin: 0px;
	padding: 0px;
}
body {
	background: #777;
}
#console {
	/*** size & position ***/
	margin: 30px auto 0px auto;
	width: 500px;
	height: 602px;

	/*** border ***/
	border: 1px solid black;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;

	/*** background ***/
	background: #28343B; /* old browsers */
	background: -moz-linear-gradient(left, #28343B 0%, #4E5958 27%, #6B6B6B 49%, #4E5958 71%, #28343b 100%); /* firefox */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#28343B), color-stop(27%,#4E5958), color-stop(49%,#6B6B6B), color-stop(71%,#4E5958), color-stop(100%,#28343b)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#28343B', endColorstr='#28343b',GradientType=1 ); /* ie */
}
#gameboard {
	/*** size $ position ***/ 
	width: 396px;
	height: 396px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	position: relative;

	/*** border ***/
	border: 3px solid black;
	border-radius: 3px;
	-moz-border-radius: 3px;

	/*** shadow ***/
	box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.4);
}
#openscreen {
	margin-left: auto;
	margin-right: auto;
	width: 396px;
	height: 396px;
	background: white;
	text-align: center;
	z-index: 1001;
}
.pieces {
	background: white;
	float: left;
}
/*piece color classes*/
.green	{ background: #00ff00; }
.blue	{ background: #0000ff; }
.red	{ background: #ff0000; }
.yellow	{ background: #ffff00; }
.purple	{ background: #800080; }
.orange	{ background: #ff8c00; }

#greencont	{ background: #00ff00; }
#bluecont	{ background: #0000ff; }
#redcont	{ background: #ff0000; }
#yellowcont	{ background: #ffff00; }
#purplecont	{ background: #800080; }
#orangecont	{ background: #ff8c00; }

#controlpane {
	/*** size & position ***/
	width: 420px;
	height: 70px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;

	/*** border ***/
	border: 1px solid black;
	border-radius: 35px;
	-moz-border-radius: 35px;
}
.moves {
	/*** size & position ***/
	float: left;
	width: 58px;
	height: 58px;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 5px;

	/*** border ***/
	border: 1px solid black;
	border-radius: 30px;
	-moz-border-radius: 30px;

	/*** shadow ***/
	box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.4);
}
.moves:hover {
	box-shadow: inset 0px 0px 30px 3px rgba(0,0,0,0.4);
	-webkit-box-shadow: inset 0px 0px 30px 3px rgba(0,0,0,0.4);
	-moz-box-shadow: inset 0px 0px 30px 3px rgba(0,0,0,0.4);
}
.moves:active {
	box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.7);
	-webkit-box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.7);
	-moz-box-shadow: 0px 0px 30px 3px rgba(0,0,0,0.7);
}
#counter div {
	/*** size & position ***/
	float: left;
	width: 40px;
	height: 30px;
	margin-top: 8px;

	/*** font ***/
	font-family: Tahoma, Arial, sans-serif;
	font-size: 20px;
	color: silver;
}
#bottom {
	/*** size & position ***/
	height: 40px;
	width: 386px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
}
#option {
	margin-left: 10px;
}
#restart {
	display: none;
	margin-right: 10px;
}
#start1 p{
	margin-top: 8px;
	font-family: Tahoma, Arial, sans-serif;
	letter-spacing: 2px;
	font-size: 20px;
	color: silver;
}
#start {
	margin-right: 10px;
}
#option a {
	margin-left: 19px;
}
#start a {
	margin-left: 35px;
}
#restart a {
	margin-left: 22px;
}
#bottom a {
	float: left;
	width: 40px;
	height: 30px;
	margin-top: 8px;
	font-family: Tahoma, Arial, sans-serif;
	text-decoration: none;
	letter-spacing: 2px;
	font-size: 20px;
	color: silver;
}
.nav {
	/*** size & position ***/
	float: left;
	width: 120px;
	height: 38px;
	background: url("nav.png");

	/*** border ***/
	border: 1px solid teal;
	border-radius: 2px;
	-moz-border-radius: 3px;

	/*** shadow ***/
	box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.6);
	-webkit-box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.6);
	-moz-box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.6);

	/*** font ***/
	text-align: center;
}
.nav p{
	font-family: Tahoma, Arial, sans-serif;
	letter-spacing: 3px;
}
.blackoverlay {
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index:1001;
	-moz-opacity: 0.6;
	opacity:.60;
	filter: alpha(opacity=60);
}
.whitecontent {
	position: absolute;
    bottom: 0%;
    right: 0%;
	padding-top: 20px;

	z-index:1002;
	background: #666;
	text-align: center;
    
    /*** border ***/
    border-top: 1px solid white;
    border-left: 1px solid white;
    -moz-border-radius-topleft: 2px;
    -khtml-border-radius-topleft: 2px;
    -webkit-border-top-left-radius: 2px;
	
    /*** shadow ***/
    box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.6);
	-webkit-box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.6);
	-moz-box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.6);
}
.whitecontent a {
	color: #111;
	font-size: 20px;
	font-family: Arial;
}
.whitecontent a:link {
	color: #111;
	font-size: 20px;
	font-family: Arial;
}
.whitecontent a:visited {
	color: #111;
}
.whitecontent a:active {
	color: #888;
}
.whitecontent p {
	color: black;
	font-size: 20px;
	font-family: Arial;
}
#msgbox {
	display: none;
	width: 298px;
	height: 98px;
}
#options {
	display: none;
	width: 298px;
	height: 200px;
}
